package com.loan.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.loan.entity.Message;
import com.loan.mapper.MessageMapper;
import com.loan.service.MessageService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author z
* @description 针对表【message】的数据库操作Service实现
* @createDate 2023-04-21 14:51:41
*/
@Service
public class MessageServiceImpl extends ServiceImpl<MessageMapper, Message> implements MessageService {

    @Resource
    private MessageMapper messageMapper;
    @Override
    public Message getMessageById(Integer mid) {
        Message message = messageMapper.selectById(mid);
        return message;
    }
}




